home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Texturing / tex1D.HLSL.Brick.xml next >
Extensible Markup Language  |  2008-06-10  |  790b  |  13 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{83D14C35-F95E-4992-A2AD-AD53B7B7BC00}" Name="RtTex1D" GUIName="Tex1D" Description="Sample the 1D texture at given texture coordinate [tex1D]">
  3.     <ME_BRICK_INPUTPARAM GUID="{E54D93BF-AF1B-4C76-8326-B0594B7925F0}" Name="Sampler1D" Type="RtSampler1D"/>
  4.     <ME_BRICK_INPUTPARAM GUID="{8BBB6366-9CBA-4DF2-B2FF-53EE750C96EB}" Name="sCoordinate" Type="RtFloat"/>
  5.     <ME_BRICK_OUTPUTPARAM GUID="{EB7C2338-668E-4AEC-8E9C-9A14719F2E6A}" Name="vTextureColor4" Type="RtFloat4"/>
  6.     <ME_BRICK_CODE><![CDATA[
  7.         void RtTex1D(in RtSampler1D Sampler1D, in RtFloat sCoordinate, out RtFloat4 vTextureColor4)
  8.         {
  9.             vTextureColor4 = rtx_Tex1D(Sampler1D, sCoordinate);
  10.         }
  11.     ]]></ME_BRICK_CODE>
  12. </ME_BRICK>
  13.